<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

        <h1>添加员工</h1>
        <form action="/employee/doAddEmp" method="post" enctype="multipart/form-data">
                    <div>
                        <span style="display: inline-block;width: 50px;">姓名：</span>
                        <input type="text" name="userName">
                    </div>
                    <div>
                        <span style="display: inline-block;width: 50px;">年龄：</span>
                        <input type="text" name="age">
                    </div>
                    <div style="width: 600px">
                        <span style="display: inline-block;width: 50px;">图像：</span>
                        <input type="file" name="img">
                    </div></br>
            <button type="submit" style="margin-left: 80px">确认添加</button>
        </form>
        <h3 th:text="${msg}"></h3>

</body>
</html>
